/**
 *  系统设置模块的路由
 */
import Layout from '@/layout'

const jobManager = {
  path: '/jobManager',
  component: Layout,
  redirect: '/permission/page',
  alwaysShow: true, // will always show the root menu
  meta: {
    title: "任务管理",
    icon: "dashboard"

  },
  children: [{
    path: 'job',
    component: (resolve) => require(['@/views/job/index'], resolve),
    name: 'Job',
    meta: {
      title: '任务管理',
      requireAuth: true,
      authRole: ['superadmin', 'gadmin']
    }
  }, {
    path: 'jobGroup',
    component: (resolve) => require(['@/views/plugin/index'], resolve),
    name: 'JobGroup',
    meta: {
      title: '任务组管理',
      requireAuth: true,
      authRole: ['superadmin']
    }
  }]
}
export default jobManager
